package com.itheima.dao.impl;

import com.itheima.dao.UserDao;

public class UserDaoImpl implements UserDao {
    public UserDaoImpl() {
        System.out.println("UserDaoImpl创建");
    }

    public void init() {
        System.out.println("初始化");
    }

    public void destroy() {
        System.out.println("被销毁");
    }

    @Override
    public void save() {
        System.out.printf("第一次使用Spring");
    }
}
